package com.tledu.day62springboot;

import com.sy.EnableShanyun;
import com.sy.ShangyunSpringConfig;
import com.tledu.day62springboot.config.CommonConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

// 默认扫描的是SpringBoot启动类所在的包
@SpringBootApplication
@MapperScan("com.tledu.day62springboot.mapper")
@Import({CommonConfig.class})
//@EnableShanyun()
public class Day62springbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(Day62springbootApplication.class, args);
    }

}
